package com.warren.beans.factory.annotation;

import java.lang.annotation.*;

/**
 * @author warren
 * @create 2021-08-29 23:23
 * @Description This annotation may be used on a field or parameter as a qualifier for
 *  candidate beans when autowiring. It may also be used to annotate other
 *  custom annotations that can then in turn be used as qualifiers.
 */
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Qualifier {
    String value() default "";
}
